package com.yidu.qianfeng.mapper;

import com.yidu.qianfeng.common.bean.waybill.Waybill;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("targetMapper")
@Mapper
public interface TargetMapper {
    /**
     * 查询运单数
     * @param waybill_consign_date
     * @param waybill_promise_date
     * @return
     */
    public int financecount(String waybill_consign_date,String waybill_promise_date);

    /**
     * 查询运单收入总额
     * @param waybill_consign_date
     * @param waybill_promise_date
     * @return
     */
    public int Waybillincome(String waybill_consign_date,String waybill_promise_date);

    /**
     * 查询代收总额
     * @param waybill_consign_date
     * @param waybill_promise_date
     * @return
     */
    public int rebatecollection(String waybill_consign_date,String waybill_promise_date);

    /**
     * 获取提货开支
     * @param waybill_consign_date
     * @param waybill_promise_date
     * @return
     */
    public int pickupfee(String waybill_consign_date,String waybill_promise_date);

    /**
     * 查询运输车次
     * @param trans_depart_date
     * @param trans_promise_date
     * @return
     */
    public int transportcount(String trans_depart_date,String trans_promise_date);

    /**
     * 运输费用合计
     * @param trans_depart_date
     * @param trans_promise_date
     * @return
     */
    public int transporttotal(String trans_depart_date,String trans_promise_date);

    /**
     * 查询派送车次
     * @param trans_depart_date
     * @param trans_promise_date
     * @return
     */
    public int sendtcount(String trans_depart_date,String trans_promise_date);

    /**
     * 查询派送开支
     * @param trans_depart_date
     * @param trans_promise_date
     * @return
     */
    public int sendttotal(String trans_depart_date,String trans_promise_date);

    /**
     * 查询运单指标数据
     * @return
     */
    public List<Waybill> selectindicator();
}
